package com.leps.nq.sys.vo;

import com.leps.nq.bu.entity.BuArea;
import com.leps.nq.bu.entity.BuCust;
import com.leps.nq.bu.entity.BuStation;
import com.leps.nq.sys.entity.SysRole;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
import java.util.List;

@ApiModel
@Getter
@Setter
public class UserInfoVo {
    @ApiModelProperty("用户ID")
    public Long userId;

    @ApiModelProperty("用户名")
    public String userName;

    @ApiModelProperty("用户昵称")
    public String nickName;

    @ApiModelProperty("用户性别（0男 1女 2未知）")
    public String sex;

    @ApiModelProperty("头像地址")
    public String avatar;

    @ApiModelProperty("用户邮箱")
    public String email;

    @ApiModelProperty("手机号码")
    public String phonenumber;

    @ApiModelProperty("帐号状态（0正常 1停用）")
    public String status;

    @ApiModelProperty("最后登录IP")
    public String loginIp;

    @ApiModelProperty("最后登录时间")
    public Date loginDate;

    @ApiModelProperty("创建者")
    public String createBy;

    @ApiModelProperty("创建时间")
    public Date createTime;

    @ApiModelProperty("更新者")
    public String updateBy;

    @ApiModelProperty("更新时间")
    public Date updateTime;

    @ApiModelProperty("备注")
    public String remark;

    @ApiModelProperty("用户拥有的菜单")
    public List<MenuInfoVo> menus;

    @ApiModelProperty("用户拥有的角色")
    public List<SysRole> roles;

    @ApiModelProperty("用户拥有的权限码")
    public List<String> perms;

    @ApiModelProperty("服务的客户")
    public List<BuCust> custs;

    @ApiModelProperty("服务的区块")
    public List<BuArea> areas;

    @ApiModelProperty("服务的场站/平台")
    public List<BuStation> stations;
}
